/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.metasketch.model.loader;

import java.util.Collection;

/**
 *
 * @author guilhermegrg
 */
public abstract class IGetLinkLogic {

   protected IGraphDatabase gdb;

    public abstract boolean canProcess(GraphNode node,  String type, String targetType);

    public abstract Collection<GraphNode> getLinks(GraphNode node, String type);

    public IGraphDatabase getGdb() {
        return gdb;
    }

    public void setGdb(IGraphDatabase gdb) {
        this.gdb = gdb;
    }
    



}
